package team.dao;

import team.common.util.Page;
import team.entity.User;



public interface UserDao {
    
    User getUser(int userid);
    
    User findUser(String loginname,String password);

    User createUser(User user);

    void deleteUser(int userId);

    void updateUser(User user);
    
    //分页
    Page<User> getPageUsers(int currentPage, int pageSize);
    
}
